package com.stary.beetlsql.generator.config;

/**
 * <p>定义常量</p>
 * @author stary {@link stary1993@qq.com}
 * @since 2019-7-24
 */
public class Constants {

	public static final String TELPLATE_PATH = "/templates";
	public static final String MAPPER = "Mapper";
	public static final String SERVICE = "Service";
	public static final String SERVICE_IMPL = "ServiceImpl";
	public static final String CONTROLLER = "Controller";
	public static final String PACKAGE_KEY = "package";
	public static final String TABLE_KEY = "table";
	public static final String ENTITY_KEY = "entity";
	public static final String MAPPER_KEY = "mapper";
	public static final String MD_KEY = "md";
	public static final String JAVA_TMPDIR = "java.io.tmpdir";
	public static final String UTF8 = "UTF-8";
	public static final String UNDERLINE = "_";
	public static final String JAVA_SUFFIX = ".java";
	public static final String MD_SUFFIX = ".md";
	public static final String BTL_SUFFIX = ".btl";
	public static final String TEMPLATE_ENTITY = "/templates/entity.java.btl";
	public static final String TEMPLATE_MAPPER = "/templates/mapper.java.btl";
	public static final String TEMPLATE_SERVICE = "/templates/service.java.btl";
	public static final String TEMPLATE_SERVICE_IMPL = "/templates/serviceImpl.java.btl";
	public static final String TEMPLATE_CONTROLLER = "/templates/controller.java.btl";
	public static final String TEMPLATE_MD = "/templates/mapper.md.btl";
	public static final String SUPERD_MAPPER_CLASS = "org.beetl.sql.core.mapper.BaseMapper";
	/**
	 * 输出相关常量
	 */
	public static final String OUT_CONFIG = "cfg";
}
